'use strict';
import { StackNavigator} from 'react-navigation';
import React from 'react';
import TabBar from './TabBar';
import List from '../pages/list';
import Findmap from  '../pages/findmap';
import {MineGroup} from '../pages/mine/content';
import ListDetail from '../components/listDetail';
//import UploadImg from '../components/UploadImg'
//import ModalDropdown  from '../components/ModalDropdown';

// 配置完毕的TabBar需在Navigation容器中注册
const TabBarScreen =
    {
        Tab:{screen:TabBar},
        List:{screen:List},
        Findmap:{screen:Findmap},
        ListDetail:{screen:ListDetail},
        //UploadImg:{screen:UploadImg},
        MineGroup:{screen:MineGroup},
        //ModalDropdown:{screen:ModalDropdown}
    };



// 配置Navigation容器参数
const NavOptions = {
    navigationOptions:{
        header:null,                //不需要顶部导航栏
        headerBackTitle:null,       //设置跳转页面左侧返回箭头后面的文字，默认是上一个页面的标题
    },
    mode:'card',
};

const Nav = StackNavigator(
    TabBarScreen,
    NavOptions


);

export {Nav};
